package com.ruoyi.column.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 专栏试卷对象 sys_column_paper
 * 
 * @author yjf
 */
public class SysColumnPaper extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 专栏编号 */
    @Excel(name = "专栏编号")
    private Long columnNo;

    /** 试卷ID */
    @Excel(name = "试卷ID")
    private Long paperId;

    /** 排序 */
    @Excel(name = "排序")
    private Integer sort;

    /** 删除标志 */
    private String delFlag;

    /** 专栏名称 */
    private String columnName;

    /** 试卷名称 */
    private String paperName;

    public String getColumnName() {
        return columnName;
    }

    public void setColumnName(String columnName) {
        this.columnName = columnName;
    }

    public String getPaperName() {
        return paperName;
    }

    public void setPaperName(String paperName) {
        this.paperName = paperName;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public Long getColumnNo() {
        return columnNo;
    }

    public void setColumnNo(Long columnNo) {
        this.columnNo = columnNo;
    }

    public void setPaperId(Long paperId)
    {
        this.paperId = paperId;
    }

    public Long getPaperId() 
    {
        return paperId;
    }
    public void setSort(Integer sort) 
    {
        this.sort = sort;
    }

    public Integer getSort() 
    {
        return sort;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("columnNo", getColumnNo())
            .append("paperId", getPaperId())
            .append("sort", getSort())
            .append("delFlag", getDelFlag())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
